{include file="common:header"}
<link rel="stylesheet" href="LAYUI_PATH/layui/css/layui.css" media="all">
<link rel="stylesheet" href="LAYUI_PATH/style/admin.css" media="all">
<script src="LAYUI_PATH/layui/layui.js"></script>
<link rel="stylesheet" type="text/css" href="LAYUI_PATH/layui/formSelects-v4.css"/>
<script src="LAYUI_PATH/layui/formSelects-v4.min.js" type="text/javascript" charset="utf-8"></script>
<script>
    layui.config({
        base: 'LAYUI_PATH/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use('index');
</script>
<script src="__JS__/My97DatePicker/4.8/WdatePicker.js"></script>

<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header">参会统计数据下载</div>
        <div class="layui-card-body" style="padding: 15px;">
            <form class="layui-form" action="{:url('webmeeting/export')}" method="post" lay-filter="component-form-group">

                <div class="layui-form-item true_room">
                    <label class="layui-form-label">会议选择</label>
                    <div class="layui-input-block">
                        <select  name="join_type" >
                            <option value="">请选择</option>
                            <option value="1">网罗基地</option>
                            <option value="3">目睹</option>
                            <option value="4">目睹第二套</option>
                            <option value="5">网络基地备1</option>
                            <option value="6">网络基地备2</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">下载时间段</label>
                    <div class="layui-input-block">
                        <div class="layui-input-inline" style="width: 200px;">
                            <input type="text" name="start_time" placeholder="起始时间"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',maxDate:'%y-%M-%d'})"  autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-form-mid">-</div>
                        <div class="layui-input-inline" style="width: 200px;">
                            <input type="text" name="end_time" placeholder="截至时间"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',maxDate:'%y-%M-%d'})"  autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item layui-layout-admin">
                    <div class="layui-input-block">
                        <button type="submit" class="layui-btn" style="background-color:#2869db">下载数据</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script>
    layui.use(['form'], function() {
        var $ = layui.jquery
            ,formSelects = layui.formSelects
            ,form = layui.form
            ,layer = layui.layer;
        });
</script>
<!--<script>-->
    <!--layui.use(['form'], function() {-->
        <!--var $ = layui.jquery-->
            <!--, formSelects = layui.formSelects-->
            <!--, form = layui.form-->
            <!--, layer = layui.layer;-->

        <!--//监听提交-->
        <!--form.on('submit(form_submit)', function (obj) {-->
            <!--if($('input[name="start_time"]').val()==''||$('input[name="end_time"]').val()==''){-->
                <!--layer.msg('时间选择不正确');-->
                <!--return;-->
            <!--}-->
            <!--layer.msg("下载中…");-->
            <!--$.ajax({-->
                <!--url: "{:url('webmeeting/export')}",-->
                <!--type: "POST",-->
                <!--data: obj.field,-->
                <!--success: function (res) {-->
                    <!--console.log(res);-->
                    <!--layer.msg(res['msg']);-->
                    <!--layer.closeAll('loading');-->
                <!--},-->
                <!--error: function () {-->
                    <!--layer.msg("页面错误", {-->
                        <!--icon: 2-->
                    <!--});-->
                <!--}-->
            <!--});-->
            <!--return false;-->
        <!--});-->
    <!--})-->


<!--</script>-->